// tailwind.config.js
const { nextui } = require("@nextui-org/react");

/** @type {import('tailwindcss').Config} */
module.exports = {
  content: [
    "./pages/**/*.{js,ts,jsx,tsx,mdx}",
    "./components/**/*.{js,ts,jsx,tsx,mdx}",
    "./app/**/*.{js,ts,jsx,tsx,mdx}",
    // ...
    "./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
  ],
  theme: {
    extend: {},
    fontSize: {
      xs: ".75rem",
      sm: ".875rem",
      base: "1rem",
      md: "1.125rem",
      lg: "1.5rem", // Custom medium font size
      xl: "1.6rem",
      "2xl": "1.7rem",
      "3xl": "1.875rem",
    },
  },
  darkMode: "class",
  plugins: [
    nextui({
      layout: {
        disabledOpacity: "0.3", // opacity-[0.3]
        radius: {
          small: "2px", // rounded-small
          medium: "4px", // rounded-medium
          large: "6px", // rounded-large
        },
        borderWidth: {
          small: "1px", // border-small
          medium: "1px", // border-medium
          large: "2px", // border-large
        },
      },
      themes: {
        light: {
          colors: {
            primary: {
              "50": "#eee7f5",
              // "50": "#e0c6f9",
              "100": "#d2adf7",
              "200": "#c494f5",
              "300": "#b475f5",
              "400": "#a055ed",

              "500": "#942ffb",

              "600": "#7723cd",
              "700": "#5f1ba5",
              "800": "#431275",
              "900": "#270a45",
              DEFAULT: "#942ffb",
              foreground: "#fff",
            },
            secondary: {
              "50": "#acc4f9",
              "100": "#85a6ef",
              "200": "#6e98f5",
              "300": "#598af9",
              "400": "#4178f7",

              "500": "#2d69f5",

              "600": "#2357cf",
              "700": "#1c49b1",
              "800": "#183e97",
              "900": "#102c6d",

              DEFAULT: "#2d69f5",
              foreground: "#fff",
            },
          },
        },
        dark: {},
      },
    }),
  ],
};

export {};
